/**
 *  默认组件配置集合
 *
 */

import text from "../components/edit/Text";
import captcha from "../components/edit/Captcha";
import sendcode from "../components/edit/Sendcode";
import radio from "../components/edit/Radio";
import checkbox from "../components/edit/Checkbox";
import number from "../components/edit/InputNumber";
import inputNumber from "../components/edit/InputNumber";
import textarea from "../components/edit/Textarea";
import select from "../components/edit/Select";
import province from "../components/edit/Province";
import city from "../components/edit/City";
import area from "../components/edit/Area";
import datePicker from "../components/edit/DatePicker";
import timePicker from "../components/edit/TimePicker";
import timeSelect from "../components/edit/TimeSelect";
import cascader from "../components/edit/Cascader";
import switchElem from "../components/edit/Switch";
import slider from "../components/edit/Slider";
import rate from "../components/edit/Rate";
import colorPicker from "../components/edit/ColorPicker";
import serverUpload from "../components/edit/ServerUpload";
import ossUpload from "../components/edit/OssUpload";
import qiniuUpload from "../components/edit/QiniuUpload";
import bosUpload from "../components/edit/BosUpload";
import cosUpload from "../components/edit/CosUpload";
import tree from "../components/edit/Tree";

// 富文本
import tinymce from "../components/edit/tinymce/Tinymce";

// 非表单元素
import capture from "../components/edit/Capture";
import splitline from "../components/edit/Splitline";
import tips from "../components/edit/Tips";
import warn from "../components/edit/Warn";

/**
 * 视图组件
 */
import text_view from "../components/view/TextView";
import radio_view from "../components/view/RadioChkView";
import checkbox_view from "../components/view/RadioChkView";
import number_view from "../components/view/TextView";
import inputNumber_view from "../components/view/TextView";
import textarea_view from "../components/view/TextView";
import select_view from "../components/view/SelectView";
import province_view from "../components/view/ProvinceView";
import city_view from "../components/view/CityView";
import area_view from "../components/view/AreaView";
import datePicker_view from "../components/view/DateView";
import timePicker_view from "../components/view/TimeView";
import timeSelect_view from "../components/view/TimeView";
import cascader_view from "../components/view/CascaderView";
import switch_elem_view from "../components/view/SwitchView";
import slider_view from "../components/view/SliderView";
import rate_view from "../components/view/RateView";
import colorPicker_view from "../components/view/ColorPickerView";
import serverUpload_view from "../components/view/ServerUploadView";
import ossUpload_view from "../components/view/ServerUploadView";
import qiniuUpload_view from "../components/view/ServerUploadView";
import bosUpload_view from "../components/view/ServerUploadView";
import cosUpload_view from "../components/view/ServerUploadView";
import tree_view from "../components/view/TreeView";

// 富文本
import tinymce_view from "../components/view/MceView";

export default {
  common: {
    capture,
    splitline,
    tips,
    warn
  },
  edit: {
    tree,
    sendcode,
    captcha,
    text,
    radio,
    checkbox,
    number,
    inputNumber,
    textarea,
    select,
    province,
    city,
    area,
    datePicker,
    timePicker,
    timeSelect,
    cascader,
    switch: switchElem,
    slider,
    rate,
    colorPicker,
    serverUpload,
    ossUpload,
    qiniuUpload,
    bosUpload,
    cosUpload,
    tinymce
  },
  view: {
    tree: tree_view,
    sendcode: sendcode,
    captcha: captcha,
    text: text_view,
    radio: radio_view,
    checkbox: checkbox_view,
    number: number_view,
    inputNumber: inputNumber_view,
    textarea: textarea_view,
    select: select_view,
    province: province_view,
    city: city_view,
    area: area_view,
    datePicker: datePicker_view,
    timePicker: timePicker_view,
    timeSelect: timeSelect_view,
    cascader: cascader_view,
    switch: switch_elem_view,
    slider: slider_view,
    rate: rate_view,
    colorPicker: colorPicker_view,
    serverUpload: serverUpload_view,
    ossUpload: ossUpload_view,
    qiniuUpload: qiniuUpload_view,
    bosUpload: bosUpload_view,
    cosUpload: cosUpload_view,
    tinymce: tinymce_view
  }
};
